import ajax from '../utils/request.js'

function getIconsFn (category){
	return ajax({
		url: '/icons/getIcons',
		data: {category}
	})
}
// 获取健康档案里的数据
function getHealthFn (id) {
	return ajax({
		url: '/health/' + id
	})
}

export { getIconsFn, getHealthFn }